MCS_FLAGS = -debug

ASSEMBLY_NAME = Banshee.Dashboard
ASSEMBLY = $(ASSEMBLY_NAME).dll

SOURCES = \
	$(srcdir)/Banshee.Dashboard/DashboardService.cs

RESOURCES = \
	$(srcdir)/Resources/Banshee.Dashboard.addin.xml

ASSEMBLY_REFERENCES = \
	$(BANSHEE_LIBS) \
	$(DASHBOARD_LIBS)

plugindir = $(PLUGINDIR)
plugin_SCRIPTS = $(ASSEMBLY) $(ASSEMBLY).mdb

all: $(ASSEMBLY)

$(ASSEMBLY): $(SOURCES)
	$(MCS) $(MCS_FLAGS) -out:$(ASSEMBLY) -target:library $(ASSEMBLY_REFERENCES) $(SOURCES) $(foreach resource,$(RESOURCES),-resource:$(resource),$(notdir $(resource)))

EXTRA_DIST = $(SOURCES)
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb 
DISTCLEANFILES = Makefile.in 
